package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysProcessManagement;
import com.xidian.zhiancloud.model.SysProcessManagementExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface SysProcessManagementMapper extends BaseMapper<SysProcessManagement>{

    List<SysProcessManagement> selectProcessManagementList(Map mapResult);

    SysProcessManagement deleteProcessManagement(Long id);

    long countByExample(SysProcessManagementExample example);

    int deleteByExample(SysProcessManagementExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysProcessManagement record);

    int insertSelective(SysProcessManagement record);

    List<SysProcessManagement> selectByExampleWithRowbounds(SysProcessManagementExample example, RowBounds rowBounds);

    List<SysProcessManagement> selectByExample(SysProcessManagementExample example);

    SysProcessManagement selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysProcessManagement record, @Param("example") SysProcessManagementExample example);

    int updateByExample(@Param("record") SysProcessManagement record, @Param("example") SysProcessManagementExample example);

    int updateByPrimaryKeySelective(SysProcessManagement record);

    int updateByPrimaryKey(SysProcessManagement record);


}